﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CapaNegocio;

namespace PresentacionWin32
{
    public partial class Consulta_General_Cajeros : Form
    {
        public Consulta_General_Cajeros()
        {
            InitializeComponent();
        }

        private void Consulta_General_Cajeros_Load(object sender, EventArgs e)
        {
            Metodo_ObtenerCajeros();
        }

        private void Metodo_ObtenerCajeros()
        {
            Clase_Cajera lista = new Clase_Cajera();
            this.dataGridView1.DataSource = lista.Metodo_ObtenerCajera();
            dataGridView1.Columns["id_cajera"].Visible = false;
        }
    }
}
